package com.hcw.library.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hcw.library.common.Result;
import com.hcw.library.domain.User;

import java.util.List;

public interface UserService extends IService<User> {

    Result<Integer> addUser(User user);

    Result<Integer> updateUser(User user);

    Result<List<User>> queryUserList();

    Result<User> queryUserById(String id);

}
